package com.ylxl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ylxl.entity.Container;
import com.ylxl.entity.Device;
import com.ylxl.entity.Label;
import com.ylxl.entity.reponse.ContainerVO;
import com.ylxl.entity.request.ContainerCmdOrMdy;
import com.ylxl.entity.request.QueryContainer;
import com.ylxl.entity.request.QueryDevice;

import java.util.List;

/**
 * @Auther Gilbert
 * @Date 2023/6/26 13:50
 */
public interface IContainerService extends IService<Container> {
    List<ContainerVO> selectContainerList(QueryContainer queryContainer);

    int insertContainer(ContainerCmdOrMdy containerCmdOrMdy);
    int updateContainer(ContainerCmdOrMdy containerCmdOrMdy);

    ContainerVO selctById(Integer id);
    int deleteById(Integer id);
    List<Device> selectDeviceList(QueryDevice queryDevice);
}
